package com.ch.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ch.model.bo.ReportBO;
import com.ch.model.entity.Report;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ch.model.query.ReportQuery;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author Lenovo
* @description 针对表【report】的数据库操作Mapper
* @createDate 2024-06-14 09:43:05
* @Entity com.ch.model.entity.Report
*/
@Mapper
public interface ReportMapper extends BaseMapper<Report> {

	Page<ReportBO> getRPage(@Param("page")Page<ReportBO> page,@Param("query") ReportQuery query);

	List<ReportBO> getReport(@Param("date") String date);

	Integer deleteByReportId(Integer reportId);

	boolean updateR(Integer reportId,String diagnose);
}




